projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d7562
)
Change the xref-goto-xref error message
author
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 5 Aug 2021 23:49:42 +0000
(
02:49
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 5 Aug 2021 23:49:42 +0000
(
02:49
+0300)
* lisp/progmodes/xref.el (xref-goto-xref):
Change the error message (bug#49846).
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index 7453dbed9923bf342968bd684bdea7ac71aec75d..404752536f8050e3427f9f0c7941e79c968a2683 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-657,7
+657,7
@@
quit the *xref* buffer."
(interactive "P")
(let* ((buffer (current-buffer))
(xref (or (xref--item-at-point)
- (user-error "
No reference at poin
t")))
+ (user-error "
Choose a reference to visi
t")))
(xref--current-item xref))
(xref--show-location (xref-item-location xref) (if quit 'quit t))
(if (fboundp 'next-error-found)